package com.start.manager.enums;

import com.jienlee.common.enums.IBaseResultCode;

import lombok.Getter;

/**
 * 统一的通用返回 枚举类
 * @author jien.lee
 */

@Getter
public enum ResultCodeEnum implements IBaseResultCode {
    USER_ERROR(1401, "用户身份异常！"),

    USER_NOT_FIND(1404, "用户信息不存在！"),
    PASSWORD_ERROR(1404, "密码有误，请重新输入！"),

    ;


    private Integer code;
    private String message;

    ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
